#ifndef AUDIO_CONTROL_H
#define AUDIO_CONTROL_H

#include <QString>
#include <QObject>
#include <QDebug>

#define DEVICE_ACTION_READ      "read"
#define DEVICE_ACTION_SWITCH    "switch"
#define DEVICE_ACTION_CLICK     "click"
#define DEVICE_ACTION_DIM       "dim"
#define DEVICE_ACTION_MOVE      "move"
#define DEVICE_ACTION_TEMP      "temp"
#define DEVICE_ACTION_MODE      "mode"
#define DEVICE_ACTION_WIND      "wind"
#define DEVICE_ACTION_CALL      "call"

#define DEVICE_ACTION_UNKNOW    "unknow"

#define DEVICE_SWITCH_ON        "on"
#define DEVICE_SWITCH_OFF       "off"
#define DEVICE_STATUS_ON        "1"
#define DEVICE_STATUS_OFF       "0"
#define DEVICE_STATUS_STOP      "2"
#define DEVICE_STATUS_VALUE     "value"

#define DEVICE_STATUS_EQUAL     "="
#define DEVICE_STATUS_ADD       "+"
#define DEVICE_STATUS_SUB       "-"

typedef enum
{
    UNKNOW=0,
    LIGHT=1,
    CURTAIN=2,
    AIR=3,
    SCENE=4,
    LABEL=5,
    TV_REMOTE=6,
    MUSIC_REMOTE=7,
    DOOR=8
} DEVICE_AUDIOCONTROL;



#endif // AUDIO_CONTROL_H
